package com.quanxiaoha.weblog.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("schedule_habit_item")
@ApiModel(value="ScheduleHabitItem对象", description="")
public class ScheduleHabitItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "练习名称")
    @TableField("habit_name")
    private String habitName;

    @ApiModelProperty(value = "完成数量")
    @TableField("completed_count")
    private Integer completedCount;

    @ApiModelProperty(value = "等级")
    @TableField("habit_level")
    private Integer habitLevel;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后一次更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
